package ua.cn.store.service;

import java.util.List;

import ua.cn.store.domain.User;

public interface IUserService extends IGenericService<User>{
	
	/**
	 * Find all users by name
	 * @param name
	 * @return  List<User>
	 * @throws IllegalArgumentException if parameter is <code>null</code>
	 * @throws GeneralServiceException if DB error occurs
	 */
	public List<User> findByName(String name)
	throws IllegalArgumentException, GeneralServiceException;
	
		
}
